package com.itheima.chapter09.io.bytestream;

import java.io.FileOutputStream;
import java.io.IOException;

public class OutputDemo1 {
    public static void main(String[] args) throws IOException {
        //创建字节输出流对象
        FileOutputStream fos =new FileOutputStream("D:\\my_project\\b.txt");
        FileOutputStream fos1 =new FileOutputStream("D:\\my_project\\a.txt");
        //写数据
        fos.write(99);
        fos1.write(100);
        //释放关系
        fos.close();
        fos1.close();
    }

}
